package com.migo.testcp;

import com.migo.utils.DecCodeUtil;

/**
 * Created by Wes on 2019/4/24.
 */
public class ActivationCp {
    public static void main(String[] args) {
        try {
            String encrypt_str = "c1dd6a492b4c416fbbe587fe82ed8b";
            DecCodeUtil dcu = new DecCodeUtil("pv!#!$16");
            String encrypt = dcu.encrypt(encrypt_str);
            String decrypt = dcu.decrypt(encrypt);

            System.out.println("加密："+decrypt);
            System.out.println("解密："+encrypt);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
